﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace Examination.Model
{
    public class PaperQuestion : Entity
    {
        [Required]
        public long PaperId { get; set; }

        [Required]
        public long QuestionId { get; set; }

        public DateTime AnswerTime { get; set; }

        [MaxLength(100)]
        public string Answer { get; set; }

        public int Score { get; set; }

        [MaxLength(20)]
        public string OptionsOrder { get; set; }
    }
}
